package cn.rkylin.oms.system.messageDefine.service;

import java.util.List;

import com.github.pagehelper.PageInfo;

import cn.rkylin.oms.system.dictionary.vo.DictVO;
import cn.rkylin.oms.system.messageDefine.domain.OMS_MESSAGE;
import cn.rkylin.oms.system.messageDefine.domain.OMS_MESSAGE_SHOP;
import cn.rkylin.oms.system.messageDefine.vo.MessageDefineVo;
import cn.rkylin.oms.system.messageDefine.vo.MessageShopVo;


public interface IMessageDefineService {
	PageInfo<MessageDefineVo> findByWhere(int page, int length, MessageDefineVo param) throws Exception;

//	void saveMessage(OMS_MESSAGE message) throws Exception;

	public void delete(String msgId) throws Exception;
	
	public void doEnable(String msgEnable,String msgId) throws Exception;
	
	OMS_MESSAGE getMessageInfo(OMS_MESSAGE message) throws Exception;

	void takeSaveShop(String[] arr, String msgId,String template) throws Exception;

	List getMsgByCondition(MessageDefineVo messageDefineVoVO) throws Exception;
	
	public void insert(MessageDefineVo messageDefineVoVO) throws Exception;

	PageInfo<MessageShopVo> findShopByWhere(int page, int length, MessageShopVo param) throws Exception;
	
	public void deleteShopMes(String msId) throws Exception;

	OMS_MESSAGE_SHOP getMessageShop(OMS_MESSAGE_SHOP messageShop) throws Exception;

	void updateFormFree(OMS_MESSAGE_SHOP messageShop) throws Exception;

	void updateMessage(MessageDefineVo msgVO) throws Exception;


}
